package com.ziyun.erp.common.e.order;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 收货状态枚举
 * @author gaosheng
 * @date 2018-09-10 18:30
 */
public enum ReceivedStatusEnum implements BaseEnum{

    UN_RECEIVED(0, "未收货"),
    RECEIVED(1, "已收货"),
    ;

    private int id;
    private String describe;

    ReceivedStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
